package com.quanz.ckgl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.jdbc.support.lob.DefaultLobHandler;
import org.springframework.jdbc.support.lob.LobHandler;

/**
 * 
 * @author James Quan
 * @version 2015年10月3日 上午11:57:03
 */
@SpringBootApplication
@ImportResource("classpath:META-INF/spring/*.xml")
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

	@Bean
	public LobHandler lobHandler(){
		return new DefaultLobHandler();
	}
}